home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
koffie
/
beast.install
next >
Wrap
Text File
|
1997-01-24
|
1KB
|
47 lines
; $VER: BEAST.install 0.1 (Jan 14 1996)
; Install script for BEAST
(set @default-dest "")
(set #bad-kick "You must be using Kickstart 2.04+ to use BEAST.")
(set #destination "Where would you like BEAST to be installed?\nA directory BEAST will be created.")
(set #StartupPrompt "Now changes will be made in the s:user-startup file.\nThis action is recommended so that BEAST will be available at startup.")
(set #StartupHelp "This action enables the BEAST system at startup.")
(if (< (/ (getversion) 65535) 37)
(
(abort #bad-kick)
))
(set dest_dir
(askdir (prompt (#destination))
(help @askdir-help)
(default @default-dest)
(newpath))
)
(set @default-dest (tackon dest_dir "BEAST"))
(if (= 1 (exists @default-dest (noreq)))
(
(abort "Directory already in use")
)
)
(if (= 0 (exists @default-dest (noreq)))
(makedir @default-dest )
)
(set BST_C (tackon @default-dest "C"))
(set BST_Libs (tackon @default-dest "Libs"))
(set BST_Classes (tackon @default-dest "Classes"))
(set BST_Home (tackon @default-dest "Home"))
(copyfiles (source "C") (dest BST_C) (all))
(copyfiles (source "Libs") (dest BST_Libs) (all))
(copyfiles (source "Classes") (dest BST_Classes) (all))
(copyfiles (source "Home") (dest BST_Home) (all))
(makeassign "BEAST" @default-dest)
(startup "BEAST" (prompt #StartupPrompt) (help #StartupHelp)
(command (cat "Assign BEAST: " @default-dest "\n"))
(command (cat "Execute BEAST:C/BST_BuildBeast\n"))
)